package com.beadwallet.alarm.service.msg.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.beadwallet.alarm.entity.msgInfo.Title;
import com.beadwallet.alarm.mapper.TitleMapper;
import com.beadwallet.alarm.service.msg.TitleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *   服务实现类
 * </p>
 *
 * @author master
 * @since 2018-01-23
 */
@Service
public class TitleServiceImpl extends ServiceImpl<TitleMapper, Title> implements TitleService {
    @Autowired
    private TitleMapper titleMapper;
    @Override
    public List<Title> selectTitle(String templateId) {
        return titleMapper.selectMsgTitle(templateId);
    }
}
